/* this ALWAYS GENERATED file contains the definitions for the interfaces */


/* File created by MIDL compiler version 5.01.0164 */
/* at Sat Feb 27 07:28:00 2010
 */
/* Compiler settings for D:\chiction\eDAS\Activcard\Activcard.idl:
    Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
    error checks: allocation ref bounds_check enum stub_data 
*/
//@@MIDL_FILE_HEADING(  )


/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 440
#endif

#include "rpc.h"
#include "rpcndr.h"

#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__

#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

#ifndef __Activcard_h__
#define __Activcard_h__

#ifdef __cplusplus
extern "C"{
#endif 

/* Forward Declarations */ 

#ifndef __IAuthentication_FWD_DEFINED__
#define __IAuthentication_FWD_DEFINED__
typedef interface IAuthentication IAuthentication;
#endif 	/* __IAuthentication_FWD_DEFINED__ */


#ifndef __IAuthority_FWD_DEFINED__
#define __IAuthority_FWD_DEFINED__
typedef interface IAuthority IAuthority;
#endif 	/* __IAuthority_FWD_DEFINED__ */


#ifndef __Authentication_FWD_DEFINED__
#define __Authentication_FWD_DEFINED__

#ifdef __cplusplus
typedef class Authentication Authentication;
#else
typedef struct Authentication Authentication;
#endif /* __cplusplus */

#endif 	/* __Authentication_FWD_DEFINED__ */


#ifndef __Authority_FWD_DEFINED__
#define __Authority_FWD_DEFINED__

#ifdef __cplusplus
typedef class Authority Authority;
#else
typedef struct Authority Authority;
#endif /* __cplusplus */

#endif 	/* __Authority_FWD_DEFINED__ */


/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"

void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 

#ifndef __IAuthentication_INTERFACE_DEFINED__
#define __IAuthentication_INTERFACE_DEFINED__

/* interface IAuthentication */
/* [unique][helpstring][dual][uuid][object] */ 


EXTERN_C const IID IID_IAuthentication;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("FFD0F5CF-CC67-4222-A3B4-C1401F80318F")
    IAuthentication : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AS_ApplyUpdates( 
            /* [in] */ BSTR ProviderName,
            /* [in] */ VARIANT Delta,
            /* [in] */ long MaxErrors,
            /* [out] */ long __RPC_FAR *ErrorCount,
            /* [out][in] */ VARIANT __RPC_FAR *OwnerData) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AS_GetRecords( 
            /* [in] */ BSTR ProviderName,
            /* [in] */ long Count,
            /* [out] */ long __RPC_FAR *RecsOut,
            /* [in] */ long Options,
            /* [in] */ BSTR CommandText,
            /* [out][in] */ VARIANT __RPC_FAR *Params,
            /* [out][in] */ VARIANT __RPC_FAR *OwnerData) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AS_DataRequest( 
            /* [in] */ BSTR ProviderName,
            /* [in] */ VARIANT Data) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AS_GetProviderNames( void) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AS_GetParams( 
            /* [in] */ BSTR ProviderName,
            /* [out][in] */ VARIANT __RPC_FAR *OwnerData) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AS_RowRequest( 
            /* [in] */ BSTR ProviderName,
            /* [in] */ VARIANT Row,
            /* [in] */ long RequestType,
            /* [out][in] */ VARIANT __RPC_FAR *OwnerData) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AS_Execute( 
            /* [in] */ BSTR ProviderName,
            /* [in] */ BSTR CommandText,
            /* [out][in] */ VARIANT __RPC_FAR *Params,
            /* [out][in] */ VARIANT __RPC_FAR *OwnerData) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AsyncAuthCheckCode( 
            /* [in] */ BSTR TokenSN,
            /* [in] */ BSTR Challenge,
            /* [in] */ BSTR Response,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AsyncAuthGetChallenge( 
            /* [in] */ BSTR TokenSN,
            /* [out] */ VARIANT __RPC_FAR *OutChallenge,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SyncAuthCheckCode( 
            /* [in] */ BSTR strSn,
            /* [in] */ BSTR strPwd,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UnlockGenerateCode( 
            /* [in] */ BSTR strSn,
            /* [in] */ BSTR strChanCode,
            /* [out] */ BSTR __RPC_FAR *strResp,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UpdateAuthenticationEventCounter( 
            /* [in] */ BSTR strSn,
            /* [in] */ BSTR strValue,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UpdateDeviceOffset( 
            /* [in] */ BSTR strSn,
            /* [in] */ BSTR strValue,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetParamater( 
            /* [in] */ BSTR name,
            /* [out] */ VARIANT __RPC_FAR *value,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetParamater( 
            /* [in] */ BSTR name,
            /* [in] */ BSTR value,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TokenStatusModify( 
            /* [in] */ BSTR TokenSN,
            /* [in] */ BSTR Status,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddTokenSDB( 
            /* [in] */ BSTR TokenSN,
            /* [in] */ VARIANT vSDB,
            /* [in] */ VARIANT vTokenInfo,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TokenStatus( 
            /* [in] */ BSTR TokenSN,
            /* [out] */ VARIANT __RPC_FAR *Status,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UserGetTokenSN( 
            /* [in] */ BSTR UserName,
            /* [out] */ VARIANT __RPC_FAR *TokenSN,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UserEnableToken( 
            /* [in] */ BSTR UserName,
            /* [in] */ BSTR TokenSN,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UserDisableToken( 
            /* [in] */ BSTR UserName,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TokenGetUserName( 
            /* [in] */ BSTR TokenSN,
            /* [out] */ VARIANT __RPC_FAR *UserName,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteParamater( 
            /* [in] */ BSTR ParamName,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetUsersList( 
            /* [in] */ BSTR Dept,
            /* [out] */ VARIANT __RPC_FAR *UsersList,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetDeptList( 
            /* [out] */ BSTR __RPC_FAR *retstr,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetTokenListByDept( 
            /* [in] */ BSTR Dept,
            /* [out] */ VARIANT __RPC_FAR *TokenList,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetStatusInfoByDept( 
            /* [in] */ BSTR Dept,
            /* [out] */ VARIANT __RPC_FAR *StatusInfo,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetStatusInfoByToken( 
            /* [in] */ BSTR TokenSN,
            /* [out] */ VARIANT __RPC_FAR *vTokenInfo,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddDept( 
            /* [in] */ BSTR DeptName,
            /* [in] */ BSTR DeptDesc,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteDept( 
            /* [in] */ BSTR DeptName,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetUserInfo( 
            /* [in] */ BSTR UserName,
            /* [in] */ BSTR Dept,
            /* [out] */ VARIANT __RPC_FAR *UserInfo,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SaveUserInfo( 
            /* [in] */ VARIANT UserInfo,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteUserInfo( 
            /* [in] */ BSTR UserName,
            /* [in] */ BSTR Dept,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddLogRecord( 
            /* [in] */ VARIANT vLogInfo,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UserSyncAuthCheck( 
            /* [in] */ BSTR strDept,
            /* [in] */ BSTR strUser,
            /* [in] */ BSTR strPwd,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetTokenList( 
            /* [out] */ BSTR __RPC_FAR *retstr,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddUserInfo( 
            /* [in] */ BSTR UserName,
            /* [in] */ BSTR UserDesc,
            /* [in] */ BSTR DeptName,
            /* [in] */ BSTR Sn,
            /* [in] */ BSTR Sn1,
            /* [in] */ BSTR UserRights,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteUser( 
            /* [in] */ BSTR dept,
            /* [in] */ BSTR user,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UpdateTokenState( 
            /* [in] */ BSTR strSn,
            /* [in] */ BSTR strState,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetUserListByDept( 
            /* [in] */ BSTR strDept,
            /* [retval][out] */ BSTR __RPC_FAR *retstr) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UpdateUserInfo( 
            /* [in] */ BSTR strDept,
            /* [in] */ BSTR strNameOld,
            /* [in] */ BSTR strNameNew,
            /* [in] */ BSTR strDesc,
            /* [in] */ BSTR strSnOld,
            /* [in] */ BSTR strSnNew,
            /* [in] */ BSTR strRights,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddToken( 
            /* [in] */ VARIANT __RPC_FAR *strBuf,
            /* [in] */ long strLen,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UpdateDept( 
            /* [in] */ BSTR strDeptOld,
            /* [in] */ BSTR strDeptNew,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UpdateToken( 
            /* [in] */ BSTR strSn,
            /* [in] */ VARIANT __RPC_FAR *strBuf,
            /* [in] */ long strLen,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SycAuthTest( 
            /* [in] */ BSTR strSn,
            /* [in] */ BSTR strPwd,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetSysUserPwd( 
            /* [in] */ BSTR strUser,
            /* [in] */ BSTR pPwd,
            /* [out] */ BSTR __RPC_FAR *pRights,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetTokenSDB( 
            /* [in] */ BSTR strSn,
            /* [out] */ VARIANT __RPC_FAR *outBuf,
            /* [out] */ long __RPC_FAR *outLen,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteSDB( 
            /* [in] */ BSTR strSn,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UserSycAuth( 
            /* [in] */ BSTR strUser,
            /* [in] */ BSTR strPwd,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetUserInfoBySn( 
            /* [in] */ BSTR strSn,
            /* [retval][out] */ BSTR __RPC_FAR *retstr) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetUserCountBySn( 
            /* [in] */ BSTR strSn,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE WriteLicenceFile( 
            /* [in] */ VARIANT __RPC_FAR *strBuf,
            /* [in] */ long strLen,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UpdateUserPwd( 
            /* [in] */ BSTR strDept,
            /* [in] */ BSTR strUser,
            /* [in] */ BSTR strPwd,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetSysLog( 
            /* [in] */ BSTR strUser,
            /* [in] */ BSTR bDate,
            /* [in] */ BSTR eDate,
            /* [out] */ BSTR __RPC_FAR *retstr,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetUserLicenses( 
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddIp( 
            /* [in] */ BSTR ipAddr,
            /* [in] */ BSTR ipDesc,
            /* [in] */ BSTR IpKey,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DelIp( 
            /* [in] */ BSTR ipAddr,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UpdateIp( 
            /* [in] */ BSTR OldIp,
            /* [in] */ BSTR NewIp,
            /* [in] */ BSTR ipDesc,
            /* [in] */ BSTR ipKey,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetIpList( 
            /* [out] */ BSTR __RPC_FAR *retstr,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetAcctPort( 
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetAuthPort( 
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetRadiusPort( 
            /* [in] */ BSTR strType,
            /* [in] */ BSTR strPort,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetIpKey( 
            /* [out] */ BSTR __RPC_FAR *retstr,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetMiniTokenPINPolicy( 
            /* [in] */ BSTR strDefPIN,
            /* [in] */ int iPINPosition,
            /* [in] */ int iMinPINCodeLen,
            /* [in] */ int iMaxPINCodeLen,
            /* [in] */ int iPINAssignment,
            /* [in] */ BSTR bstrPinSetFlay,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetMiniTokenPINPolicy( 
            /* [out] */ BSTR __RPC_FAR *pbstrDefPIN,
            /* [out] */ int __RPC_FAR *piPINPosition,
            /* [out] */ int __RPC_FAR *piMinPINCodeLen,
            /* [out] */ int __RPC_FAR *piMaxPINCodeLen,
            /* [out] */ int __RPC_FAR *piPINAssignment,
            /* [out] */ BSTR __RPC_FAR *pbstrPinSetFlay,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetPinCode( 
            /* [in] */ BSTR strSn,
            /* [in] */ BSTR strPinCode,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsExistMiniToken( void) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsMiniToken( 
            BSTR bstrSn) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetSearchResultsPage( 
            BSTR bstrTableName,
            BSTR bstrSearchColumns,
            BSTR bstrKeyWords,
            BSTR bstrFilter,
            BSTR bstrGetColumns1stForSort,
            unsigned long ulPageNo,
            unsigned long __RPC_FAR *pulPageSize,
            unsigned long __RPC_FAR *pulPagesCount,
            BSTR __RPC_FAR *pbstrPageData) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetTokensInfo( 
            /* [out] */ int __RPC_FAR *piTotalCount,
            /* [out] */ int __RPC_FAR *piInUseCount,
            /* [out] */ int __RPC_FAR *piIdleCount,
            /* [out] */ int __RPC_FAR *piDisabledCount,
            /* [out] */ int __RPC_FAR *piAssignedUsersCount) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ResynchronizeByOTP( 
            /* [in] */ BSTR TokenSN,
            /* [in] */ BSTR OTP,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IAuthenticationVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
            IAuthentication __RPC_FAR * This);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
            IAuthentication __RPC_FAR * This);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
            IAuthentication __RPC_FAR * This,
            /* [out] */ UINT __RPC_FAR *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
            /* [out] */ VARIANT __RPC_FAR *pVarResult,
            /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
            /* [out] */ UINT __RPC_FAR *puArgErr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AS_ApplyUpdates )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR ProviderName,
            /* [in] */ VARIANT Delta,
            /* [in] */ long MaxErrors,
            /* [out] */ long __RPC_FAR *ErrorCount,
            /* [out][in] */ VARIANT __RPC_FAR *OwnerData);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AS_GetRecords )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR ProviderName,
            /* [in] */ long Count,
            /* [out] */ long __RPC_FAR *RecsOut,
            /* [in] */ long Options,
            /* [in] */ BSTR CommandText,
            /* [out][in] */ VARIANT __RPC_FAR *Params,
            /* [out][in] */ VARIANT __RPC_FAR *OwnerData);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AS_DataRequest )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR ProviderName,
            /* [in] */ VARIANT Data);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AS_GetProviderNames )( 
            IAuthentication __RPC_FAR * This);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AS_GetParams )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR ProviderName,
            /* [out][in] */ VARIANT __RPC_FAR *OwnerData);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AS_RowRequest )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR ProviderName,
            /* [in] */ VARIANT Row,
            /* [in] */ long RequestType,
            /* [out][in] */ VARIANT __RPC_FAR *OwnerData);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AS_Execute )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR ProviderName,
            /* [in] */ BSTR CommandText,
            /* [out][in] */ VARIANT __RPC_FAR *Params,
            /* [out][in] */ VARIANT __RPC_FAR *OwnerData);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AsyncAuthCheckCode )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR TokenSN,
            /* [in] */ BSTR Challenge,
            /* [in] */ BSTR Response,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AsyncAuthGetChallenge )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR TokenSN,
            /* [out] */ VARIANT __RPC_FAR *OutChallenge,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SyncAuthCheckCode )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strSn,
            /* [in] */ BSTR strPwd,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UnlockGenerateCode )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strSn,
            /* [in] */ BSTR strChanCode,
            /* [out] */ BSTR __RPC_FAR *strResp,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdateAuthenticationEventCounter )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strSn,
            /* [in] */ BSTR strValue,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdateDeviceOffset )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strSn,
            /* [in] */ BSTR strValue,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetParamater )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR name,
            /* [out] */ VARIANT __RPC_FAR *value,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetParamater )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR name,
            /* [in] */ BSTR value,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *TokenStatusModify )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR TokenSN,
            /* [in] */ BSTR Status,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddTokenSDB )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR TokenSN,
            /* [in] */ VARIANT vSDB,
            /* [in] */ VARIANT vTokenInfo,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *TokenStatus )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR TokenSN,
            /* [out] */ VARIANT __RPC_FAR *Status,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UserGetTokenSN )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR UserName,
            /* [out] */ VARIANT __RPC_FAR *TokenSN,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UserEnableToken )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR UserName,
            /* [in] */ BSTR TokenSN,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UserDisableToken )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR UserName,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *TokenGetUserName )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR TokenSN,
            /* [out] */ VARIANT __RPC_FAR *UserName,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteParamater )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR ParamName,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetUsersList )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR Dept,
            /* [out] */ VARIANT __RPC_FAR *UsersList,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDeptList )( 
            IAuthentication __RPC_FAR * This,
            /* [out] */ BSTR __RPC_FAR *retstr,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTokenListByDept )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR Dept,
            /* [out] */ VARIANT __RPC_FAR *TokenList,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStatusInfoByDept )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR Dept,
            /* [out] */ VARIANT __RPC_FAR *StatusInfo,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStatusInfoByToken )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR TokenSN,
            /* [out] */ VARIANT __RPC_FAR *vTokenInfo,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddDept )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR DeptName,
            /* [in] */ BSTR DeptDesc,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteDept )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR DeptName,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetUserInfo )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR UserName,
            /* [in] */ BSTR Dept,
            /* [out] */ VARIANT __RPC_FAR *UserInfo,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SaveUserInfo )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ VARIANT UserInfo,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteUserInfo )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR UserName,
            /* [in] */ BSTR Dept,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddLogRecord )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ VARIANT vLogInfo,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UserSyncAuthCheck )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strDept,
            /* [in] */ BSTR strUser,
            /* [in] */ BSTR strPwd,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTokenList )( 
            IAuthentication __RPC_FAR * This,
            /* [out] */ BSTR __RPC_FAR *retstr,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddUserInfo )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR UserName,
            /* [in] */ BSTR UserDesc,
            /* [in] */ BSTR DeptName,
            /* [in] */ BSTR Sn,
            /* [in] */ BSTR Sn1,
            /* [in] */ BSTR UserRights,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteUser )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR dept,
            /* [in] */ BSTR user,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdateTokenState )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strSn,
            /* [in] */ BSTR strState,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetUserListByDept )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strDept,
            /* [retval][out] */ BSTR __RPC_FAR *retstr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdateUserInfo )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strDept,
            /* [in] */ BSTR strNameOld,
            /* [in] */ BSTR strNameNew,
            /* [in] */ BSTR strDesc,
            /* [in] */ BSTR strSnOld,
            /* [in] */ BSTR strSnNew,
            /* [in] */ BSTR strRights,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddToken )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ VARIANT __RPC_FAR *strBuf,
            /* [in] */ long strLen,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdateDept )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strDeptOld,
            /* [in] */ BSTR strDeptNew,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdateToken )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strSn,
            /* [in] */ VARIANT __RPC_FAR *strBuf,
            /* [in] */ long strLen,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SycAuthTest )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strSn,
            /* [in] */ BSTR strPwd,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSysUserPwd )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strUser,
            /* [in] */ BSTR pPwd,
            /* [out] */ BSTR __RPC_FAR *pRights,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTokenSDB )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strSn,
            /* [out] */ VARIANT __RPC_FAR *outBuf,
            /* [out] */ long __RPC_FAR *outLen,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteSDB )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strSn,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UserSycAuth )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strUser,
            /* [in] */ BSTR strPwd,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetUserInfoBySn )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strSn,
            /* [retval][out] */ BSTR __RPC_FAR *retstr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetUserCountBySn )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strSn,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *WriteLicenceFile )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ VARIANT __RPC_FAR *strBuf,
            /* [in] */ long strLen,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdateUserPwd )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strDept,
            /* [in] */ BSTR strUser,
            /* [in] */ BSTR strPwd,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSysLog )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strUser,
            /* [in] */ BSTR bDate,
            /* [in] */ BSTR eDate,
            /* [out] */ BSTR __RPC_FAR *retstr,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetUserLicenses )( 
            IAuthentication __RPC_FAR * This,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddIp )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR ipAddr,
            /* [in] */ BSTR ipDesc,
            /* [in] */ BSTR IpKey,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DelIp )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR ipAddr,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdateIp )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR OldIp,
            /* [in] */ BSTR NewIp,
            /* [in] */ BSTR ipDesc,
            /* [in] */ BSTR ipKey,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIpList )( 
            IAuthentication __RPC_FAR * This,
            /* [out] */ BSTR __RPC_FAR *retstr,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAcctPort )( 
            IAuthentication __RPC_FAR * This,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAuthPort )( 
            IAuthentication __RPC_FAR * This,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetRadiusPort )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strType,
            /* [in] */ BSTR strPort,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIpKey )( 
            IAuthentication __RPC_FAR * This,
            /* [out] */ BSTR __RPC_FAR *retstr,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetMiniTokenPINPolicy )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strDefPIN,
            /* [in] */ int iPINPosition,
            /* [in] */ int iMinPINCodeLen,
            /* [in] */ int iMaxPINCodeLen,
            /* [in] */ int iPINAssignment,
            /* [in] */ BSTR bstrPinSetFlay,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMiniTokenPINPolicy )( 
            IAuthentication __RPC_FAR * This,
            /* [out] */ BSTR __RPC_FAR *pbstrDefPIN,
            /* [out] */ int __RPC_FAR *piPINPosition,
            /* [out] */ int __RPC_FAR *piMinPINCodeLen,
            /* [out] */ int __RPC_FAR *piMaxPINCodeLen,
            /* [out] */ int __RPC_FAR *piPINAssignment,
            /* [out] */ BSTR __RPC_FAR *pbstrPinSetFlay,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPinCode )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR strSn,
            /* [in] */ BSTR strPinCode,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsExistMiniToken )( 
            IAuthentication __RPC_FAR * This);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsMiniToken )( 
            IAuthentication __RPC_FAR * This,
            BSTR bstrSn);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSearchResultsPage )( 
            IAuthentication __RPC_FAR * This,
            BSTR bstrTableName,
            BSTR bstrSearchColumns,
            BSTR bstrKeyWords,
            BSTR bstrFilter,
            BSTR bstrGetColumns1stForSort,
            unsigned long ulPageNo,
            unsigned long __RPC_FAR *pulPageSize,
            unsigned long __RPC_FAR *pulPagesCount,
            BSTR __RPC_FAR *pbstrPageData);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTokensInfo )( 
            IAuthentication __RPC_FAR * This,
            /* [out] */ int __RPC_FAR *piTotalCount,
            /* [out] */ int __RPC_FAR *piInUseCount,
            /* [out] */ int __RPC_FAR *piIdleCount,
            /* [out] */ int __RPC_FAR *piDisabledCount,
            /* [out] */ int __RPC_FAR *piAssignedUsersCount);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ResynchronizeByOTP )( 
            IAuthentication __RPC_FAR * This,
            /* [in] */ BSTR TokenSN,
            /* [in] */ BSTR OTP,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        END_INTERFACE
    } IAuthenticationVtbl;

    interface IAuthentication
    {
        CONST_VTBL struct IAuthenticationVtbl __RPC_FAR *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IAuthentication_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define IAuthentication_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define IAuthentication_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define IAuthentication_GetTypeInfoCount(This,pctinfo)	\
    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)

#define IAuthentication_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)

#define IAuthentication_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)

#define IAuthentication_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#define IAuthentication_AS_ApplyUpdates(This,ProviderName,Delta,MaxErrors,ErrorCount,OwnerData)	\
    (This)->lpVtbl -> AS_ApplyUpdates(This,ProviderName,Delta,MaxErrors,ErrorCount,OwnerData)

#define IAuthentication_AS_GetRecords(This,ProviderName,Count,RecsOut,Options,CommandText,Params,OwnerData)	\
    (This)->lpVtbl -> AS_GetRecords(This,ProviderName,Count,RecsOut,Options,CommandText,Params,OwnerData)

#define IAuthentication_AS_DataRequest(This,ProviderName,Data)	\
    (This)->lpVtbl -> AS_DataRequest(This,ProviderName,Data)

#define IAuthentication_AS_GetProviderNames(This)	\
    (This)->lpVtbl -> AS_GetProviderNames(This)

#define IAuthentication_AS_GetParams(This,ProviderName,OwnerData)	\
    (This)->lpVtbl -> AS_GetParams(This,ProviderName,OwnerData)

#define IAuthentication_AS_RowRequest(This,ProviderName,Row,RequestType,OwnerData)	\
    (This)->lpVtbl -> AS_RowRequest(This,ProviderName,Row,RequestType,OwnerData)

#define IAuthentication_AS_Execute(This,ProviderName,CommandText,Params,OwnerData)	\
    (This)->lpVtbl -> AS_Execute(This,ProviderName,CommandText,Params,OwnerData)

#define IAuthentication_AsyncAuthCheckCode(This,TokenSN,Challenge,Response,ret)	\
    (This)->lpVtbl -> AsyncAuthCheckCode(This,TokenSN,Challenge,Response,ret)

#define IAuthentication_AsyncAuthGetChallenge(This,TokenSN,OutChallenge,ret)	\
    (This)->lpVtbl -> AsyncAuthGetChallenge(This,TokenSN,OutChallenge,ret)

#define IAuthentication_SyncAuthCheckCode(This,strSn,strPwd,ret)	\
    (This)->lpVtbl -> SyncAuthCheckCode(This,strSn,strPwd,ret)

#define IAuthentication_UnlockGenerateCode(This,strSn,strChanCode,strResp,ret)	\
    (This)->lpVtbl -> UnlockGenerateCode(This,strSn,strChanCode,strResp,ret)

#define IAuthentication_UpdateAuthenticationEventCounter(This,strSn,strValue,ret)	\
    (This)->lpVtbl -> UpdateAuthenticationEventCounter(This,strSn,strValue,ret)

#define IAuthentication_UpdateDeviceOffset(This,strSn,strValue,ret)	\
    (This)->lpVtbl -> UpdateDeviceOffset(This,strSn,strValue,ret)

#define IAuthentication_GetParamater(This,name,value,ret)	\
    (This)->lpVtbl -> GetParamater(This,name,value,ret)

#define IAuthentication_SetParamater(This,name,value,ret)	\
    (This)->lpVtbl -> SetParamater(This,name,value,ret)

#define IAuthentication_TokenStatusModify(This,TokenSN,Status,ret)	\
    (This)->lpVtbl -> TokenStatusModify(This,TokenSN,Status,ret)

#define IAuthentication_AddTokenSDB(This,TokenSN,vSDB,vTokenInfo,ret)	\
    (This)->lpVtbl -> AddTokenSDB(This,TokenSN,vSDB,vTokenInfo,ret)

#define IAuthentication_TokenStatus(This,TokenSN,Status,ret)	\
    (This)->lpVtbl -> TokenStatus(This,TokenSN,Status,ret)

#define IAuthentication_UserGetTokenSN(This,UserName,TokenSN,ret)	\
    (This)->lpVtbl -> UserGetTokenSN(This,UserName,TokenSN,ret)

#define IAuthentication_UserEnableToken(This,UserName,TokenSN,ret)	\
    (This)->lpVtbl -> UserEnableToken(This,UserName,TokenSN,ret)

#define IAuthentication_UserDisableToken(This,UserName,ret)	\
    (This)->lpVtbl -> UserDisableToken(This,UserName,ret)

#define IAuthentication_TokenGetUserName(This,TokenSN,UserName,ret)	\
    (This)->lpVtbl -> TokenGetUserName(This,TokenSN,UserName,ret)

#define IAuthentication_DeleteParamater(This,ParamName,ret)	\
    (This)->lpVtbl -> DeleteParamater(This,ParamName,ret)

#define IAuthentication_GetUsersList(This,Dept,UsersList,ret)	\
    (This)->lpVtbl -> GetUsersList(This,Dept,UsersList,ret)

#define IAuthentication_GetDeptList(This,retstr,ret)	\
    (This)->lpVtbl -> GetDeptList(This,retstr,ret)

#define IAuthentication_GetTokenListByDept(This,Dept,TokenList,ret)	\
    (This)->lpVtbl -> GetTokenListByDept(This,Dept,TokenList,ret)

#define IAuthentication_GetStatusInfoByDept(This,Dept,StatusInfo,ret)	\
    (This)->lpVtbl -> GetStatusInfoByDept(This,Dept,StatusInfo,ret)

#define IAuthentication_GetStatusInfoByToken(This,TokenSN,vTokenInfo,ret)	\
    (This)->lpVtbl -> GetStatusInfoByToken(This,TokenSN,vTokenInfo,ret)

#define IAuthentication_AddDept(This,DeptName,DeptDesc,ret)	\
    (This)->lpVtbl -> AddDept(This,DeptName,DeptDesc,ret)

#define IAuthentication_DeleteDept(This,DeptName,ret)	\
    (This)->lpVtbl -> DeleteDept(This,DeptName,ret)

#define IAuthentication_GetUserInfo(This,UserName,Dept,UserInfo,ret)	\
    (This)->lpVtbl -> GetUserInfo(This,UserName,Dept,UserInfo,ret)

#define IAuthentication_SaveUserInfo(This,UserInfo,ret)	\
    (This)->lpVtbl -> SaveUserInfo(This,UserInfo,ret)

#define IAuthentication_DeleteUserInfo(This,UserName,Dept,ret)	\
    (This)->lpVtbl -> DeleteUserInfo(This,UserName,Dept,ret)

#define IAuthentication_AddLogRecord(This,vLogInfo,ret)	\
    (This)->lpVtbl -> AddLogRecord(This,vLogInfo,ret)

#define IAuthentication_UserSyncAuthCheck(This,strDept,strUser,strPwd,ret)	\
    (This)->lpVtbl -> UserSyncAuthCheck(This,strDept,strUser,strPwd,ret)

#define IAuthentication_GetTokenList(This,retstr,ret)	\
    (This)->lpVtbl -> GetTokenList(This,retstr,ret)

#define IAuthentication_AddUserInfo(This,UserName,UserDesc,DeptName,Sn,Sn1,UserRights,ret)	\
    (This)->lpVtbl -> AddUserInfo(This,UserName,UserDesc,DeptName,Sn,Sn1,UserRights,ret)

#define IAuthentication_DeleteUser(This,dept,user,ret)	\
    (This)->lpVtbl -> DeleteUser(This,dept,user,ret)

#define IAuthentication_UpdateTokenState(This,strSn,strState,ret)	\
    (This)->lpVtbl -> UpdateTokenState(This,strSn,strState,ret)

#define IAuthentication_GetUserListByDept(This,strDept,retstr)	\
    (This)->lpVtbl -> GetUserListByDept(This,strDept,retstr)

#define IAuthentication_UpdateUserInfo(This,strDept,strNameOld,strNameNew,strDesc,strSnOld,strSnNew,strRights,ret)	\
    (This)->lpVtbl -> UpdateUserInfo(This,strDept,strNameOld,strNameNew,strDesc,strSnOld,strSnNew,strRights,ret)

#define IAuthentication_AddToken(This,strBuf,strLen,ret)	\
    (This)->lpVtbl -> AddToken(This,strBuf,strLen,ret)

#define IAuthentication_UpdateDept(This,strDeptOld,strDeptNew,ret)	\
    (This)->lpVtbl -> UpdateDept(This,strDeptOld,strDeptNew,ret)

#define IAuthentication_UpdateToken(This,strSn,strBuf,strLen,ret)	\
    (This)->lpVtbl -> UpdateToken(This,strSn,strBuf,strLen,ret)

#define IAuthentication_SycAuthTest(This,strSn,strPwd,ret)	\
    (This)->lpVtbl -> SycAuthTest(This,strSn,strPwd,ret)

#define IAuthentication_GetSysUserPwd(This,strUser,pPwd,pRights,ret)	\
    (This)->lpVtbl -> GetSysUserPwd(This,strUser,pPwd,pRights,ret)

#define IAuthentication_GetTokenSDB(This,strSn,outBuf,outLen,ret)	\
    (This)->lpVtbl -> GetTokenSDB(This,strSn,outBuf,outLen,ret)

#define IAuthentication_DeleteSDB(This,strSn,ret)	\
    (This)->lpVtbl -> DeleteSDB(This,strSn,ret)

#define IAuthentication_UserSycAuth(This,strUser,strPwd,ret)	\
    (This)->lpVtbl -> UserSycAuth(This,strUser,strPwd,ret)

#define IAuthentication_GetUserInfoBySn(This,strSn,retstr)	\
    (This)->lpVtbl -> GetUserInfoBySn(This,strSn,retstr)

#define IAuthentication_GetUserCountBySn(This,strSn,ret)	\
    (This)->lpVtbl -> GetUserCountBySn(This,strSn,ret)

#define IAuthentication_WriteLicenceFile(This,strBuf,strLen,ret)	\
    (This)->lpVtbl -> WriteLicenceFile(This,strBuf,strLen,ret)

#define IAuthentication_UpdateUserPwd(This,strDept,strUser,strPwd,ret)	\
    (This)->lpVtbl -> UpdateUserPwd(This,strDept,strUser,strPwd,ret)

#define IAuthentication_GetSysLog(This,strUser,bDate,eDate,retstr,ret)	\
    (This)->lpVtbl -> GetSysLog(This,strUser,bDate,eDate,retstr,ret)

#define IAuthentication_GetUserLicenses(This,ret)	\
    (This)->lpVtbl -> GetUserLicenses(This,ret)

#define IAuthentication_AddIp(This,ipAddr,ipDesc,IpKey,ret)	\
    (This)->lpVtbl -> AddIp(This,ipAddr,ipDesc,IpKey,ret)

#define IAuthentication_DelIp(This,ipAddr,ret)	\
    (This)->lpVtbl -> DelIp(This,ipAddr,ret)

#define IAuthentication_UpdateIp(This,OldIp,NewIp,ipDesc,ipKey,ret)	\
    (This)->lpVtbl -> UpdateIp(This,OldIp,NewIp,ipDesc,ipKey,ret)

#define IAuthentication_GetIpList(This,retstr,ret)	\
    (This)->lpVtbl -> GetIpList(This,retstr,ret)

#define IAuthentication_GetAcctPort(This,ret)	\
    (This)->lpVtbl -> GetAcctPort(This,ret)

#define IAuthentication_GetAuthPort(This,ret)	\
    (This)->lpVtbl -> GetAuthPort(This,ret)

#define IAuthentication_SetRadiusPort(This,strType,strPort,ret)	\
    (This)->lpVtbl -> SetRadiusPort(This,strType,strPort,ret)

#define IAuthentication_GetIpKey(This,retstr,ret)	\
    (This)->lpVtbl -> GetIpKey(This,retstr,ret)

#define IAuthentication_SetMiniTokenPINPolicy(This,strDefPIN,iPINPosition,iMinPINCodeLen,iMaxPINCodeLen,iPINAssignment,bstrPinSetFlay,ret)	\
    (This)->lpVtbl -> SetMiniTokenPINPolicy(This,strDefPIN,iPINPosition,iMinPINCodeLen,iMaxPINCodeLen,iPINAssignment,bstrPinSetFlay,ret)

#define IAuthentication_GetMiniTokenPINPolicy(This,pbstrDefPIN,piPINPosition,piMinPINCodeLen,piMaxPINCodeLen,piPINAssignment,pbstrPinSetFlay,ret)	\
    (This)->lpVtbl -> GetMiniTokenPINPolicy(This,pbstrDefPIN,piPINPosition,piMinPINCodeLen,piMaxPINCodeLen,piPINAssignment,pbstrPinSetFlay,ret)

#define IAuthentication_SetPinCode(This,strSn,strPinCode,ret)	\
    (This)->lpVtbl -> SetPinCode(This,strSn,strPinCode,ret)

#define IAuthentication_IsExistMiniToken(This)	\
    (This)->lpVtbl -> IsExistMiniToken(This)

#define IAuthentication_IsMiniToken(This,bstrSn)	\
    (This)->lpVtbl -> IsMiniToken(This,bstrSn)

#define IAuthentication_GetSearchResultsPage(This,bstrTableName,bstrSearchColumns,bstrKeyWords,bstrFilter,bstrGetColumns1stForSort,ulPageNo,pulPageSize,pulPagesCount,pbstrPageData)	\
    (This)->lpVtbl -> GetSearchResultsPage(This,bstrTableName,bstrSearchColumns,bstrKeyWords,bstrFilter,bstrGetColumns1stForSort,ulPageNo,pulPageSize,pulPagesCount,pbstrPageData)

#define IAuthentication_GetTokensInfo(This,piTotalCount,piInUseCount,piIdleCount,piDisabledCount,piAssignedUsersCount)	\
    (This)->lpVtbl -> GetTokensInfo(This,piTotalCount,piInUseCount,piIdleCount,piDisabledCount,piAssignedUsersCount)

#define IAuthentication_ResynchronizeByOTP(This,TokenSN,OTP,ret)	\
    (This)->lpVtbl -> ResynchronizeByOTP(This,TokenSN,OTP,ret)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_AS_ApplyUpdates_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR ProviderName,
    /* [in] */ VARIANT Delta,
    /* [in] */ long MaxErrors,
    /* [out] */ long __RPC_FAR *ErrorCount,
    /* [out][in] */ VARIANT __RPC_FAR *OwnerData);


void __RPC_STUB IAuthentication_AS_ApplyUpdates_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_AS_GetRecords_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR ProviderName,
    /* [in] */ long Count,
    /* [out] */ long __RPC_FAR *RecsOut,
    /* [in] */ long Options,
    /* [in] */ BSTR CommandText,
    /* [out][in] */ VARIANT __RPC_FAR *Params,
    /* [out][in] */ VARIANT __RPC_FAR *OwnerData);


void __RPC_STUB IAuthentication_AS_GetRecords_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_AS_DataRequest_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR ProviderName,
    /* [in] */ VARIANT Data);


void __RPC_STUB IAuthentication_AS_DataRequest_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_AS_GetProviderNames_Proxy( 
    IAuthentication __RPC_FAR * This);


void __RPC_STUB IAuthentication_AS_GetProviderNames_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_AS_GetParams_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR ProviderName,
    /* [out][in] */ VARIANT __RPC_FAR *OwnerData);


void __RPC_STUB IAuthentication_AS_GetParams_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_AS_RowRequest_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR ProviderName,
    /* [in] */ VARIANT Row,
    /* [in] */ long RequestType,
    /* [out][in] */ VARIANT __RPC_FAR *OwnerData);


void __RPC_STUB IAuthentication_AS_RowRequest_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_AS_Execute_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR ProviderName,
    /* [in] */ BSTR CommandText,
    /* [out][in] */ VARIANT __RPC_FAR *Params,
    /* [out][in] */ VARIANT __RPC_FAR *OwnerData);


void __RPC_STUB IAuthentication_AS_Execute_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_AsyncAuthCheckCode_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR TokenSN,
    /* [in] */ BSTR Challenge,
    /* [in] */ BSTR Response,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_AsyncAuthCheckCode_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_AsyncAuthGetChallenge_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR TokenSN,
    /* [out] */ VARIANT __RPC_FAR *OutChallenge,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_AsyncAuthGetChallenge_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_SyncAuthCheckCode_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strSn,
    /* [in] */ BSTR strPwd,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_SyncAuthCheckCode_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_UnlockGenerateCode_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strSn,
    /* [in] */ BSTR strChanCode,
    /* [out] */ BSTR __RPC_FAR *strResp,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_UnlockGenerateCode_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_UpdateAuthenticationEventCounter_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strSn,
    /* [in] */ BSTR strValue,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_UpdateAuthenticationEventCounter_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_UpdateDeviceOffset_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strSn,
    /* [in] */ BSTR strValue,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_UpdateDeviceOffset_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetParamater_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR name,
    /* [out] */ VARIANT __RPC_FAR *value,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_GetParamater_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_SetParamater_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR name,
    /* [in] */ BSTR value,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_SetParamater_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_TokenStatusModify_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR TokenSN,
    /* [in] */ BSTR Status,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_TokenStatusModify_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_AddTokenSDB_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR TokenSN,
    /* [in] */ VARIANT vSDB,
    /* [in] */ VARIANT vTokenInfo,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_AddTokenSDB_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_TokenStatus_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR TokenSN,
    /* [out] */ VARIANT __RPC_FAR *Status,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_TokenStatus_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_UserGetTokenSN_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR UserName,
    /* [out] */ VARIANT __RPC_FAR *TokenSN,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_UserGetTokenSN_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_UserEnableToken_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR UserName,
    /* [in] */ BSTR TokenSN,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_UserEnableToken_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_UserDisableToken_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR UserName,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_UserDisableToken_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_TokenGetUserName_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR TokenSN,
    /* [out] */ VARIANT __RPC_FAR *UserName,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_TokenGetUserName_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_DeleteParamater_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR ParamName,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_DeleteParamater_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetUsersList_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR Dept,
    /* [out] */ VARIANT __RPC_FAR *UsersList,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_GetUsersList_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetDeptList_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [out] */ BSTR __RPC_FAR *retstr,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_GetDeptList_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetTokenListByDept_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR Dept,
    /* [out] */ VARIANT __RPC_FAR *TokenList,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_GetTokenListByDept_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetStatusInfoByDept_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR Dept,
    /* [out] */ VARIANT __RPC_FAR *StatusInfo,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_GetStatusInfoByDept_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetStatusInfoByToken_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR TokenSN,
    /* [out] */ VARIANT __RPC_FAR *vTokenInfo,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_GetStatusInfoByToken_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_AddDept_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR DeptName,
    /* [in] */ BSTR DeptDesc,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_AddDept_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_DeleteDept_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR DeptName,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_DeleteDept_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetUserInfo_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR UserName,
    /* [in] */ BSTR Dept,
    /* [out] */ VARIANT __RPC_FAR *UserInfo,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_GetUserInfo_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_SaveUserInfo_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ VARIANT UserInfo,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_SaveUserInfo_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_DeleteUserInfo_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR UserName,
    /* [in] */ BSTR Dept,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_DeleteUserInfo_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_AddLogRecord_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ VARIANT vLogInfo,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_AddLogRecord_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_UserSyncAuthCheck_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strDept,
    /* [in] */ BSTR strUser,
    /* [in] */ BSTR strPwd,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_UserSyncAuthCheck_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetTokenList_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [out] */ BSTR __RPC_FAR *retstr,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_GetTokenList_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_AddUserInfo_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR UserName,
    /* [in] */ BSTR UserDesc,
    /* [in] */ BSTR DeptName,
    /* [in] */ BSTR Sn,
    /* [in] */ BSTR Sn1,
    /* [in] */ BSTR UserRights,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_AddUserInfo_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_DeleteUser_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR dept,
    /* [in] */ BSTR user,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_DeleteUser_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_UpdateTokenState_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strSn,
    /* [in] */ BSTR strState,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_UpdateTokenState_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetUserListByDept_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strDept,
    /* [retval][out] */ BSTR __RPC_FAR *retstr);


void __RPC_STUB IAuthentication_GetUserListByDept_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_UpdateUserInfo_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strDept,
    /* [in] */ BSTR strNameOld,
    /* [in] */ BSTR strNameNew,
    /* [in] */ BSTR strDesc,
    /* [in] */ BSTR strSnOld,
    /* [in] */ BSTR strSnNew,
    /* [in] */ BSTR strRights,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_UpdateUserInfo_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_AddToken_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ VARIANT __RPC_FAR *strBuf,
    /* [in] */ long strLen,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_AddToken_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_UpdateDept_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strDeptOld,
    /* [in] */ BSTR strDeptNew,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_UpdateDept_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_UpdateToken_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strSn,
    /* [in] */ VARIANT __RPC_FAR *strBuf,
    /* [in] */ long strLen,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_UpdateToken_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_SycAuthTest_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strSn,
    /* [in] */ BSTR strPwd,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_SycAuthTest_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetSysUserPwd_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strUser,
    /* [in] */ BSTR pPwd,
    /* [out] */ BSTR __RPC_FAR *pRights,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_GetSysUserPwd_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetTokenSDB_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strSn,
    /* [out] */ VARIANT __RPC_FAR *outBuf,
    /* [out] */ long __RPC_FAR *outLen,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_GetTokenSDB_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_DeleteSDB_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strSn,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_DeleteSDB_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_UserSycAuth_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strUser,
    /* [in] */ BSTR strPwd,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_UserSycAuth_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetUserInfoBySn_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strSn,
    /* [retval][out] */ BSTR __RPC_FAR *retstr);


void __RPC_STUB IAuthentication_GetUserInfoBySn_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetUserCountBySn_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strSn,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_GetUserCountBySn_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_WriteLicenceFile_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ VARIANT __RPC_FAR *strBuf,
    /* [in] */ long strLen,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_WriteLicenceFile_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_UpdateUserPwd_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strDept,
    /* [in] */ BSTR strUser,
    /* [in] */ BSTR strPwd,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_UpdateUserPwd_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetSysLog_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strUser,
    /* [in] */ BSTR bDate,
    /* [in] */ BSTR eDate,
    /* [out] */ BSTR __RPC_FAR *retstr,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_GetSysLog_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetUserLicenses_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_GetUserLicenses_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_AddIp_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR ipAddr,
    /* [in] */ BSTR ipDesc,
    /* [in] */ BSTR IpKey,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_AddIp_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_DelIp_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR ipAddr,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_DelIp_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_UpdateIp_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR OldIp,
    /* [in] */ BSTR NewIp,
    /* [in] */ BSTR ipDesc,
    /* [in] */ BSTR ipKey,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_UpdateIp_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetIpList_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [out] */ BSTR __RPC_FAR *retstr,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_GetIpList_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetAcctPort_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_GetAcctPort_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetAuthPort_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_GetAuthPort_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_SetRadiusPort_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strType,
    /* [in] */ BSTR strPort,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_SetRadiusPort_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetIpKey_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [out] */ BSTR __RPC_FAR *retstr,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_GetIpKey_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_SetMiniTokenPINPolicy_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strDefPIN,
    /* [in] */ int iPINPosition,
    /* [in] */ int iMinPINCodeLen,
    /* [in] */ int iMaxPINCodeLen,
    /* [in] */ int iPINAssignment,
    /* [in] */ BSTR bstrPinSetFlay,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_SetMiniTokenPINPolicy_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetMiniTokenPINPolicy_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [out] */ BSTR __RPC_FAR *pbstrDefPIN,
    /* [out] */ int __RPC_FAR *piPINPosition,
    /* [out] */ int __RPC_FAR *piMinPINCodeLen,
    /* [out] */ int __RPC_FAR *piMaxPINCodeLen,
    /* [out] */ int __RPC_FAR *piPINAssignment,
    /* [out] */ BSTR __RPC_FAR *pbstrPinSetFlay,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_GetMiniTokenPINPolicy_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_SetPinCode_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR strSn,
    /* [in] */ BSTR strPinCode,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_SetPinCode_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_IsExistMiniToken_Proxy( 
    IAuthentication __RPC_FAR * This);


void __RPC_STUB IAuthentication_IsExistMiniToken_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_IsMiniToken_Proxy( 
    IAuthentication __RPC_FAR * This,
    BSTR bstrSn);


void __RPC_STUB IAuthentication_IsMiniToken_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetSearchResultsPage_Proxy( 
    IAuthentication __RPC_FAR * This,
    BSTR bstrTableName,
    BSTR bstrSearchColumns,
    BSTR bstrKeyWords,
    BSTR bstrFilter,
    BSTR bstrGetColumns1stForSort,
    unsigned long ulPageNo,
    unsigned long __RPC_FAR *pulPageSize,
    unsigned long __RPC_FAR *pulPagesCount,
    BSTR __RPC_FAR *pbstrPageData);


void __RPC_STUB IAuthentication_GetSearchResultsPage_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_GetTokensInfo_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [out] */ int __RPC_FAR *piTotalCount,
    /* [out] */ int __RPC_FAR *piInUseCount,
    /* [out] */ int __RPC_FAR *piIdleCount,
    /* [out] */ int __RPC_FAR *piDisabledCount,
    /* [out] */ int __RPC_FAR *piAssignedUsersCount);


void __RPC_STUB IAuthentication_GetTokensInfo_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthentication_ResynchronizeByOTP_Proxy( 
    IAuthentication __RPC_FAR * This,
    /* [in] */ BSTR TokenSN,
    /* [in] */ BSTR OTP,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthentication_ResynchronizeByOTP_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __IAuthentication_INTERFACE_DEFINED__ */


#ifndef __IAuthority_INTERFACE_DEFINED__
#define __IAuthority_INTERFACE_DEFINED__

/* interface IAuthority */
/* [unique][helpstring][dual][uuid][object] */ 


EXTERN_C const IID IID_IAuthority;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("E455E6BD-6473-485B-8323-E10BC3EE455E")
    IAuthority : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddRole( 
            /* [in] */ BSTR bstrRoleName,
            /* [in] */ BSTR bstrAdmittanceGateways,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UpdateRole( 
            /* [in] */ BSTR bstrOriginalRoleName,
            /* [in] */ BSTR bstrNewRoleName,
            /* [in] */ BSTR bstrAdmittanceGateways,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteRole( 
            /* [in] */ BSTR bstrRoleName,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetRoles( 
            /* [out] */ BSTR __RPC_FAR *pbstrRoles,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetUserGroupDefaultRole( 
            /* [in] */ BSTR bstrGroupName,
            /* [in] */ BSTR bstrRoleName,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetUserRole( 
            /* [in] */ BSTR bstrGroupName,
            /* [in] */ BSTR bstrRoleName,
            /* [retval][out] */ long __RPC_FAR *ret) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CheckGateway( 
            BSTR bstrUserName,
            BSTR bstrGateway,
            long __RPC_FAR *ret) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IAuthorityVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
            IAuthority __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
            IAuthority __RPC_FAR * This);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
            IAuthority __RPC_FAR * This);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
            IAuthority __RPC_FAR * This,
            /* [out] */ UINT __RPC_FAR *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
            IAuthority __RPC_FAR * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
            IAuthority __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
            IAuthority __RPC_FAR * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
            /* [out] */ VARIANT __RPC_FAR *pVarResult,
            /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
            /* [out] */ UINT __RPC_FAR *puArgErr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddRole )( 
            IAuthority __RPC_FAR * This,
            /* [in] */ BSTR bstrRoleName,
            /* [in] */ BSTR bstrAdmittanceGateways,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdateRole )( 
            IAuthority __RPC_FAR * This,
            /* [in] */ BSTR bstrOriginalRoleName,
            /* [in] */ BSTR bstrNewRoleName,
            /* [in] */ BSTR bstrAdmittanceGateways,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteRole )( 
            IAuthority __RPC_FAR * This,
            /* [in] */ BSTR bstrRoleName,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetRoles )( 
            IAuthority __RPC_FAR * This,
            /* [out] */ BSTR __RPC_FAR *pbstrRoles,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetUserGroupDefaultRole )( 
            IAuthority __RPC_FAR * This,
            /* [in] */ BSTR bstrGroupName,
            /* [in] */ BSTR bstrRoleName,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetUserRole )( 
            IAuthority __RPC_FAR * This,
            /* [in] */ BSTR bstrGroupName,
            /* [in] */ BSTR bstrRoleName,
            /* [retval][out] */ long __RPC_FAR *ret);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CheckGateway )( 
            IAuthority __RPC_FAR * This,
            BSTR bstrUserName,
            BSTR bstrGateway,
            long __RPC_FAR *ret);
        
        END_INTERFACE
    } IAuthorityVtbl;

    interface IAuthority
    {
        CONST_VTBL struct IAuthorityVtbl __RPC_FAR *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IAuthority_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define IAuthority_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define IAuthority_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define IAuthority_GetTypeInfoCount(This,pctinfo)	\
    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)

#define IAuthority_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)

#define IAuthority_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)

#define IAuthority_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#define IAuthority_AddRole(This,bstrRoleName,bstrAdmittanceGateways,ret)	\
    (This)->lpVtbl -> AddRole(This,bstrRoleName,bstrAdmittanceGateways,ret)

#define IAuthority_UpdateRole(This,bstrOriginalRoleName,bstrNewRoleName,bstrAdmittanceGateways,ret)	\
    (This)->lpVtbl -> UpdateRole(This,bstrOriginalRoleName,bstrNewRoleName,bstrAdmittanceGateways,ret)

#define IAuthority_DeleteRole(This,bstrRoleName,ret)	\
    (This)->lpVtbl -> DeleteRole(This,bstrRoleName,ret)

#define IAuthority_GetRoles(This,pbstrRoles,ret)	\
    (This)->lpVtbl -> GetRoles(This,pbstrRoles,ret)

#define IAuthority_SetUserGroupDefaultRole(This,bstrGroupName,bstrRoleName,ret)	\
    (This)->lpVtbl -> SetUserGroupDefaultRole(This,bstrGroupName,bstrRoleName,ret)

#define IAuthority_SetUserRole(This,bstrGroupName,bstrRoleName,ret)	\
    (This)->lpVtbl -> SetUserRole(This,bstrGroupName,bstrRoleName,ret)

#define IAuthority_CheckGateway(This,bstrUserName,bstrGateway,ret)	\
    (This)->lpVtbl -> CheckGateway(This,bstrUserName,bstrGateway,ret)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthority_AddRole_Proxy( 
    IAuthority __RPC_FAR * This,
    /* [in] */ BSTR bstrRoleName,
    /* [in] */ BSTR bstrAdmittanceGateways,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthority_AddRole_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthority_UpdateRole_Proxy( 
    IAuthority __RPC_FAR * This,
    /* [in] */ BSTR bstrOriginalRoleName,
    /* [in] */ BSTR bstrNewRoleName,
    /* [in] */ BSTR bstrAdmittanceGateways,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthority_UpdateRole_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthority_DeleteRole_Proxy( 
    IAuthority __RPC_FAR * This,
    /* [in] */ BSTR bstrRoleName,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthority_DeleteRole_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthority_GetRoles_Proxy( 
    IAuthority __RPC_FAR * This,
    /* [out] */ BSTR __RPC_FAR *pbstrRoles,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthority_GetRoles_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthority_SetUserGroupDefaultRole_Proxy( 
    IAuthority __RPC_FAR * This,
    /* [in] */ BSTR bstrGroupName,
    /* [in] */ BSTR bstrRoleName,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthority_SetUserGroupDefaultRole_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthority_SetUserRole_Proxy( 
    IAuthority __RPC_FAR * This,
    /* [in] */ BSTR bstrGroupName,
    /* [in] */ BSTR bstrRoleName,
    /* [retval][out] */ long __RPC_FAR *ret);


void __RPC_STUB IAuthority_SetUserRole_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAuthority_CheckGateway_Proxy( 
    IAuthority __RPC_FAR * This,
    BSTR bstrUserName,
    BSTR bstrGateway,
    long __RPC_FAR *ret);


void __RPC_STUB IAuthority_CheckGateway_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __IAuthority_INTERFACE_DEFINED__ */



#ifndef __ACTIVCARDLib_LIBRARY_DEFINED__
#define __ACTIVCARDLib_LIBRARY_DEFINED__

/* library ACTIVCARDLib */
/* [helpstring][version][uuid] */ 


EXTERN_C const IID LIBID_ACTIVCARDLib;

EXTERN_C const CLSID CLSID_Authentication;

#ifdef __cplusplus

class DECLSPEC_UUID("04D08960-B2F9-4B91-89C7-9B30290830D9")
Authentication;
#endif

EXTERN_C const CLSID CLSID_Authority;

#ifdef __cplusplus

class DECLSPEC_UUID("73B83C47-91EA-40C1-A2A1-F63E8D77FB29")
Authority;
#endif
#endif /* __ACTIVCARDLib_LIBRARY_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 

unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long __RPC_FAR *, unsigned long            , VARIANT __RPC_FAR * ); 
unsigned char __RPC_FAR * __RPC_USER  VARIANT_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * ); 
unsigned char __RPC_FAR * __RPC_USER  VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * ); 
void                      __RPC_USER  VARIANT_UserFree(     unsigned long __RPC_FAR *, VARIANT __RPC_FAR * ); 

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif
